/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.dengues.model.database;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>DB Table</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.dengues.model.database.DBTable#getColumns <em>Columns</em>}</li>
 *   <li>{@link org.dengues.model.database.DBTable#isOnlyRead <em>Only Read</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.dengues.model.database.DatabasePackage#getDBTable()
 * @model
 * @generated
 */
public interface DBTable extends DiagramChild {
    /**
     * Returns the value of the '<em><b>Columns</b></em>' containment reference list.
     * The list contents are of type {@link org.dengues.model.database.DBColumn}.
     * It is bidirectional and its opposite is '{@link org.dengues.model.database.DBColumn#getTable <em>Table</em>}'.
     * <!-- begin-user-doc -->
     * <p>
     * If the meaning of the '<em>Columns</em>' containment reference list isn't clear,
     * there really should be more of a description here...
     * </p>
     * <!-- end-user-doc -->
     * @return the value of the '<em>Columns</em>' containment reference list.
     * @see org.dengues.model.database.DatabasePackage#getDBTable_Columns()
     * @see org.dengues.model.database.DBColumn#getTable
     * @model type="org.dengues.model.database.DBColumn" opposite="table" containment="true"
     * @generated
     */
    EList getColumns();

    /**
     * Returns the value of the '<em><b>Only Read</b></em>' attribute.
     * <!-- begin-user-doc -->
     * <p>
     * If the meaning of the '<em>Only Read</em>' attribute isn't clear,
     * there really should be more of a description here...
     * </p>
     * <!-- end-user-doc -->
     * @return the value of the '<em>Only Read</em>' attribute.
     * @see #setOnlyRead(boolean)
     * @see org.dengues.model.database.DatabasePackage#getDBTable_OnlyRead()
     * @model
     * @generated
     */
    boolean isOnlyRead();

    /**
     * Sets the value of the '{@link org.dengues.model.database.DBTable#isOnlyRead <em>Only Read</em>}' attribute.
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @param value the new value of the '<em>Only Read</em>' attribute.
     * @see #isOnlyRead()
     * @generated
     */
    void setOnlyRead(boolean value);

} // DBTable
